<?php // $Id: page.tpl.php,v 1.1.2.1.2.8.2.3 2010/11/25 17:07:31 adrinux Exp $ ?>
<div id="page">
  <div id="page-inner">

    <?php if (!empty($page['header'])): ?>
      <div id="header">
      <?php print render($page['header']); ?>
      </div>          
    <?php endif; ?>
    
    <div id="branding">
      <?php print $logo_themed; ?>
      <?php print $site_name_themed; ?>
      <?php print $site_slogan_themed; ?>
      <?php print render($page['highlighted']); ?>
    </div>

    <div id="navigation">
      <?php print render($main_menu); ?>
      <?php print render($secondary_menu); ?>
      <?php print $breadcrumb; ?>
    </div>

    <div id="main-content" class="clearfix">

      <?php if (!empty($page['sidebar_first'])): ?>
        <div id="sidebar-first" class="sidebar">
          <div class="squeeze">
            <?php print render($page['sidebar_first']); ?>
          </div>
        </div>
      <?php endif; ?>

      <div id="content">
        <div class="squeeze">
          <?php print render($tabs); ?>
          <?php print $messages; ?>
          <?php print render($help); ?>

          <?php if ($title): ?>
            <h1 class="page-title"><?php print $title; ?></h1>
          <?php endif; ?>

          <?php print render($page['content']); ?>
        </div>
      </div>

      <?php if (!empty($page['sidebar_second'])): ?>
        <div id="sidebar-second" class="sidebar">
          <div class="squeeze">
            <?php print render($page['sidebar_second']); ?>
          </div>
        </div>
      <?php endif; ?>

    </div>
    
    <?php if (!empty($page['footer'])): ?>
      <div id="footer">
        <?php print $feed_icons; ?>
        <?php print render($page['footer']); ?>
      </div>
    <?php endif; ?>

  </div>
</div>
